<%-- 
    Document   : searchProduct
    Created on : May 20, 2010, 3:10:17 PM
    Author     : longdm0708l
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%--
    This file is an entry point for JavaServer Faces application.
--%>
<f:view>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Product Search Page</title>
    </head>
    <body>
        <h1><h:outputText value="Product Search Page" /></h1>
        <img alt="images" src="images/motor_173.jpg" width="619" height="269"/>
        <h:form>
            <h:panelGrid columns="2">
                <h:outputText value="Enter product Name:" />
                <h:inputText value="#{ProductController.kword}"/>

                <h:outputText value="Search" />
                <h:commandButton action="#{ProductController._searchProduct}" value="Click here"/>
            </h:panelGrid>
            <br/>
            <%--
            <img src="images/back.jpg" alt="images"/>
            <a href="faces/adminUser.jsp">Back</a>
            --%>
        </h:form>
    </body>
</html>
</f:view>
